package com.backend.demo.enums;


/**
 * 是否判断枚举
 * @author Administrator
 *
 */
public enum YesNoEnum {
	
	Yes("使用",0),No("停用",1);
	
	private String name;
	
	private int index;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	private YesNoEnum(String name,int index){
		this.name = name;
		this.index = index;
	}
}
